package com.minierp.bean;

import com.minierp.model.AlloBillItem;
import java.math.BigDecimal;

public class AlloBillItemBean {
	public static final String STATUS_UNCHANGE = "UNCHANGE";
	public static final String STATUS_NEW = "NEW";
	public static final String STATUS_EDIT = "EDIT";
	public static final String STATUS_DELETE = "DELETE";
	private String status = "UNCHANGE";
	private AlloBillItem alloBillItem;
	private String amountStr = "0";
	private String productName;
	private String productCode;
	private String unit;
	private BigDecimal unitPrice = new BigDecimal(0);
	private BigDecimal stockAmount = new BigDecimal(0);

	private long oldId = 0L;

	public AlloBillItem getAlloBillItem() {
		return this.alloBillItem;
	}

	public void setAlloBillItem(AlloBillItem alloBillItem) {
		this.alloBillItem = alloBillItem;
	}

	public String getAmountStr() {
		return this.amountStr;
	}

	public void setAmountStr(String amountStr) {
		this.amountStr = amountStr;
	}

	public String getProductCode() {
		return this.productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BigDecimal getStockAmount() {
		return this.stockAmount;
	}

	public void setStockAmount(BigDecimal stockAmount) {
		this.stockAmount = stockAmount;
	}

	public BigDecimal getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public long getOldId() {
		return this.oldId;
	}

	public void setOldId(long oldId) {
		this.oldId = oldId;
	}
}